package com.hastane.islems;

import java.util.ArrayList;
import java.util.List;

import com.hastane.obj.AbsObject;
import com.hastane.obj2.Randevu;

public class RandevuIslemleri extends Islemler {
	static List randevuLists = new ArrayList<>();

	public void detayGorunule(AbsObject birey) throws Exception {
		Randevu randevu = (Randevu) birey;
		System.out.println(randevu.getId());
		System.out.println(randevu.getDoktor());
		System.out.println(randevu.getHasta());
		System.out.println(randevu.getSikayet());
		System.out.println(randevu.getTarih());
	}

	@Override
	List<AbsObject> getList() {
		return randevuLists;
	}
}
